package com.wms.entity;

import lombok.Getter;
import lombok.Setter;
import org.springframework.security.core.GrantedAuthority;

@Getter
@Setter
public class Authority extends BaseEntity implements GrantedAuthority {


    /**
     * 名称
     */
    private String name;

    /**
     * 请求地址
     */
    private String url;

    @Override
    public String getAuthority() {
        return url;
    }
}
